package com.newcapec.lesson4;

public class Demo2 {
    public static void main(String[] args) {
        FlyFunction fly1 = new Bird();
        FlyFunction fly2 = new AirPlane();
        fly1.fly();

    }
}
